package com.xncoding.websocket.javax.demo1.commons;

public enum MessageType {

    /**
     *   系统消息 0000;心跳检查消息 0001;点对点消息2001
     */
    SYSTEM("0000"), PING("0001"), PERSON("2001") ;

    private String type ;

    private MessageType(String type) {
        this.type = type ;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
